const nodemon = require('nodemon');

nodemon({
    script:'mock-server.js',
    ext:'js'
})
nodemon.on('start',()=>{
    console.log('mockServer has started');
}).on('quit',()=>{
    console.log('mockServer has quit');
    process.exit();
}).on('restart',(files)=>{
    console.log('mockServer restarted due： ',files)
});
